| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ViewportWrapper.h
1 // ViewportWrapper.h
3 //
5
6 namespace nkAstraeus::nkGraphicsWrap
7 {
11 class ViewportWrapper final
12 {
13 public :
14
15 // Environment update
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
24 // Getters
35 static nkScripts::OutputValue getHeight (const nkScripts::DataStack& stack) ;
36 } ;
37 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkGraphicsWrap::ViewportWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkGraphicsWrap::ViewportWrapper::getHeight
static nkScripts::OutputValue getHeight(const nkScripts::DataStack &stack)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::ViewportWrapper
Wraps a nkGraphics::Viewport and offers functions for use in scripting.
Definition: ViewportWrapper.h:12
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7